package org.jeecg.modules.reserve.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: sdxc_reserve_place_record
 * @Author: jeecg-boot
 * @Date:   2020-09-18
 * @Version: V1.0
 */
@Data
@TableName("sdxc_reserve_place_record")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="sdxc_reserve_place_record对象", description="sdxc_reserve_place_record")
public class SdxcReservePlaceRecord implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键uuid*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键uuid")
    private String id;
	/**场地id*/
	@Excel(name = "场地id", width = 15)
    @ApiModelProperty(value = "场地id")
    private String placeId;
	/**日期*/
	@Excel(name = "日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "日期")
    private Date date;
	/**已预约人数*/
	@Excel(name = "已预约人数", width = 15)
    @ApiModelProperty(value = "已预约人数")
    private Integer used;
	/**当日是否还可预约*/
	@Excel(name = "当日是否还可预约", width = 15)
    @ApiModelProperty(value = "当日是否还可预约")
    private Integer isReserve;
	/**创建者*/
    @ApiModelProperty(value = "创建者")
    private String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**修改者*/
    @ApiModelProperty(value = "修改者")
    private String updateBy;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}
